import request from "@/utils/request";

export function getChildren() {
  return request({
    url: "/api/v1/student/parent-children",
    method: "get",
  });
}

export function updateChildrenInfo(data: {
  studentId: string;
  height: number;
  weight: number;
}) {
  return request({
    url: "/api/v1/student/update-student-private",
    method: "post",
    data,
  });
}
